<template>
	<view class="agreement">
		<image src="https://s1.ax1x.com/2022/11/30/zw542T.jpg" mode="widthFix" :lazy-load="true"></image>
		<!-- <web-view :src="allUrl"></web-view> -->
	</view>
</template>

<script>
	export default{
		data(){
			return {
				pdfUrl:"/uni_modules/pdf/web/viewer.html",
				allUrl:''
			}
		},
		onShow() {
			// let fileUrl = encodeURIComponent(decodeURIComponent('/static/pdf/agreement.pdf')); 
			// this.allUrl = this.pdfUrl + '?file=' + fileUrl
			// console.log(this.allUrl);
		}
	}
</script>

<style lang="scss">
	@import './agreement.css'
</style>